package com.fowo.api.controller.shipment.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.IntegerString;
import com.fowo.api.sys.entity.SysFile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class ShipPlansSubImportPo {
    @ExcelIgnore
    @Schema(title = "店铺")
    private Long shopId;
    /** 店铺 */
    @ExcelProperty("*店铺")
    @Size(max = 50, message = "店铺长度不能超过50")
    private String shopIdShopName;


    private List<SysFile> imgUrl;

    /** 包装类型 */
    @ExcelProperty("*包装类型")
    private String packagingType;

    @ExcelProperty("产品id")
    private Long productId;
    @ExcelProperty("产品名称")
    @Size(max = 50, message = "店铺长度不能超过50")
    private String  productName;
    /** MSKU */
    @ExcelProperty("MSKU")
    @Size(max = 50, message = "MSKU长度不能超过50")
    private String msku;
    /** FNSKU */
    @ExcelProperty("FNSKU")
    @Size(max = 50, message = "FNSKU长度不能超过50")
    private String fnsku;

    /** SKU */
    @ExcelProperty("SKU")
    @Size(max = 50, message = "SKU长度不能超过50")
    private String sku;
    /** 计划发货量 */
    @ExcelProperty("*计划发货量")
    @NotBlank(message = "计划发货量不能为空")
    @IntegerString(message = "计划发货量数值格式不正确", label = "计划发货量")
    private String plannedShipment;

    private String asin;

    private String parentAsin;
    private String title;
    private Long fnskuId;
}
